module.exports = function (grunt) {

    require('load-grunt-tasks')(grunt);
    grunt.initConfig({
        shell: {
            root: { command: `tsc -p ./` },
            common_static: { command: `tsc -p common/static` },
            shop_static: { command: `tsc -p shop/static` },
            merchant_static: { command: `tsc -p merchant/static` },
            weixin_static: { command: `tsc -p weixin/static` },
        }
    });

    grunt.registerTask('default', ['shell']);
}